package com.wm.memento;

/**
 * @ClassName: Memento
 * @Description: 备忘录对象
 * @Author: WM
 * @Date: 2023/5/16 9:31
 */
public class Memento {
    // 负责存储对象的内部状态
    private String value;

    public Memento(String value) {
        this.value = value;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
